package com.oauth.yahoo.client.rpc;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.oauth.components.client.beans.OAuthUrl;
import com.oauth.yahoo.client.beans.YahooModel;
import com.oauth.yahoo.client.beans.YahooOAuthVerifier;
import com.oauth.yahoo.client.exception.YahooOAuthException;

@RemoteServiceRelativePath("home.ajax")
public interface YahooRemoteService extends RemoteService {

	OAuthUrl getSignInUrl() throws YahooOAuthException;

	YahooModel getYahooMails(YahooOAuthVerifier pVerifier) throws YahooOAuthException;
}
